package com.ericsson.enap.modules.replay.mapper;

import com.ericsson.enap.modules.replay.entity.EpcReplayProjectFnumber;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 测试项目流程图Mapper接口
 *
 * @author wangjingshi
 * @date 2020-09-13
 */
@Mapper
public interface EpcReplayProjectFnumberMapper
{
    /**
     * 查询测试项目流程图
     *
     * @param id 测试项目流程图ID
     * @return 测试项目流程图
     */
    public EpcReplayProjectFnumber selectEpcReplayProjectFnumberById(String id);

    /**
     * 查询测试项目流程图
     * @param projectId 测试项目流程图ID
     * @return 测试项目流程图集合
     */
    public List<EpcReplayProjectFnumber> selectEpcReplayProjectFnumberByProjectId(String projectId);

    /**
     * 查询测试项目流程图列表
     *
     * @param epcReplayProjectFnumber 测试项目流程图
     * @return 测试项目流程图集合
     */
    public List<EpcReplayProjectFnumber> selectEpcReplayProjectFnumberList(EpcReplayProjectFnumber epcReplayProjectFnumber);

    /**
     * 新增测试项目流程图
     *
     * @param epcReplayProjectFnumber 测试项目流程图
     * @return 结果
     */
    public int insertEpcReplayProjectFnumber(EpcReplayProjectFnumber epcReplayProjectFnumber);

    /**
     * 修改测试项目流程图
     *
     * @param epcReplayProjectFnumber 测试项目流程图
     * @return 结果
     */
    public int updateEpcReplayProjectFnumber(EpcReplayProjectFnumber epcReplayProjectFnumber);

    /**
     * 删除测试项目流程图
     *
     * @param id 测试项目流程图ID
     * @return 结果
     */
    public int deleteEpcReplayProjectFnumberByProjectId(Long id);

    /**
     * 批量删除测试项目流程图
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEpcReplayProjectFnumberByIds(String[] ids);


}
